
DeriveGamemode( "fretta" )

IncludePlayerClasses()

GM.Name		= "Ghost Mode"
GM.Author	= "DarK_St3alth"
GM.Email	= "hack3r.64@gmail.com"
GM.Website	= "http://s3g.brainnerd.com"
GM.Help 	= "Simple Deathmatch"

GM.MaximumDeathLength	= 1
GM.MinimumDeathLength 	= 1
GM.RealisticFallDamage	= true
GM.EnableFreezeCam		= true

GM.SelectColor	=	false
GM.ShowTeamName =	false
GM.SelectModel	=	false

GM.NoPlayerTeamDamage 	=	false

GM.AddFragsToTeamScore	=	true


GM.RoundBased	=	true
GM.RoundLength	=	5
GM.RoundLimit	=	13
GM.FragLimit	=	0
GM.GameLength 	=	3



function GM:CreateTeams()

	TEAM_TASKFORCE = 1
	team.SetUp(TEAM_TASKFORCE, "Task Force 9", Color( 70, 70, 225 ), true)
	team.SetSpawnPoint(TEAM_TASKFORCE, "info_player_start" )
	team.SetClass(TEAM_TASKFORCE, { "TaskForce" } )

	TEAM_GHOSTS = 2
	team.SetUp(TEAM_GHOSTS, "Ghosts", Color( 250, 100, 70 ), true)
	team.SetSpawnPoint(TEAM_GHOSTS, "info_player_start")
	team.SetClass(TEAM_GHOSTS, { "Ghosts" })

end